﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetPE.Core;
using System.Windows.Forms;
using NetPE.Core.Pe;

namespace NetPE.TreeNodes
{
    public class StandardFieldsHeaderNode : BaseNode
    {
        public StandardFieldsHeaderNode(OptionalHeader.StandardFieldsHeader hdr):base(hdr)
        {
            this.hdr = hdr;
            this.Text = "Standard Fields Header";
            this.ImageIndex = this.SelectedImageIndex = NodeType.Header;
        }

        OptionalHeader.StandardFieldsHeader hdr;
        public override object Data { get { return hdr; } }

        public override BaseEditor GetEditorControl()
        {
            return new PropertyEditor();
        }
    }
}
